package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.pojo.Companymessage;
import org.example.pojo.Resume;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CompanymessageMapper {

    void insertCompanyMessage(Integer companyId, Integer postId, Integer userId, Integer resumeId);

    List<Companymessage> getResumeListByJobId(Integer postId, Integer companyId);

    void updateInviteStatus(Integer postId, Integer companyId, Integer resumeId, Integer approve);

    Companymessage selectStatus(Integer userId, Integer postId, Integer companyId);

    void insertCompanyApproveMessage(Integer userId, Integer companyId, Integer postId, Integer resumeId);
}
